package com.project.bean;

/**
 * 销售明细表
 */
public class SellInfoBean {
    /**销售明细id*/
    private int id;
    /**明细所属订单*/
    private SellBean sell;
    /**库存商品*/
    private ProductBean product;
    /**出售数量*/
    private int number;

    public SellInfoBean(int sellId, int productId, int number) {
        this.sell = new SellBean();
        this.sell.setId(sellId);
        this.product = new ProductBean();
        this.product.setId(productId);
        this.number = number;
    }

    public SellInfoBean() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public SellBean getSell() {
        return sell;
    }

    public void setSell(SellBean sell) {
        this.sell = sell;
    }

    public ProductBean getProduct() {
        return product;
    }

    public void setProduct(ProductBean product) {
        this.product = product;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }
}
